package org.meetunexpectedly.service.video;

import com.baomidou.mybatisplus.extension.service.IService;
import org.meetunexpectedly.entity.video.Type;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 分类服务接口
 * @Author: pupil
 * @Date: 2024/08/13 下午 6:57
 */
public interface TypeService extends IService<Type> {
    /**
     * 随机获取num个标签
     * @param num
     */
    List<String> randomLabels(int num);

    /**
     * 获取所有分类
     * @return
     * @param request
     */
    List<Type> getTypes(HttpServletRequest request);
}
